

class CommandBase:
    def __init__(self):
        if self.__class__ is CommandBase:
            raise NotImplementedError

        self.mCommandString = None

    def mine(self, cmd):
        self.mCommandString = cmd
        if self.__class__ is CommandBase:
            raise NotImplementedError

    def run(self):
        raise NotImplementedError
